package com.seventeen.monster.mq.proxy.mapper;


import com.seventeen.monster.mq.proxy.domain.MqConsumerProxy;

import java.util.List;


/**
 * 消费代理表 mq_consumer_proxy
 *
 * @author seventeen
 */
public interface MqConsumerProxyMapper {

    /**
     * getByName
     *
     * @param consumerProxyGroupName
     * @return
     */
    MqConsumerProxy getByConsumerProxyGroup(String consumerProxyGroupName);

    /**
     * 查询所有
     *
     * @return
     */
    List<MqConsumerProxy> list();

    /**
     * select list
     *
     * @param param
     * @return
     */
    List<MqConsumerProxy> selectList(MqConsumerProxy param);

    /**
     * insert
     *
     * @param consumerProxy
     * @return
     */
    int insert(MqConsumerProxy consumerProxy);

    /**
     * update
     *
     * @param consumerProxy
     * @return
     */
    int update(MqConsumerProxy consumerProxy);

}
